export default {
    Weather: {
        key: '3d0329673769f5d26df14f35a505f2d7',
        getCitys: '/api/simpleWeather/cityList?key=3d0329673769f5d26df14f35a505f2d7',
        getWeather: function (cityId) {
            return '/api/simpleWeather/query?city=' + cityId + "&key=" + this.key;
        },
        getLife:function(cityId){
            return '/api/simpleWeather/life?city=' + cityId + "&key=" + this.key;
        }
    },
    News:{
        key:'6f21ab6c4de142b0e536215894a87e9b',
        getnews:function(newstype){
           return "/bpi/toutiao/index?type="+newstype+"&key="+this.key;
        }
    },
    COVID:{
        gettoday(){
            return "/cpi/2217-2?showapi_appid=510470&showapi_sign=80834309473b47c5bccd56d014a2447d"
        }
    }
}